package com.example.datagramsocket

import android.content.Intent
import android.view.View
import com.example.datagramsocket.base.BaseActivity
import com.example.datagramsocket.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding>() {

    override fun initView() {

    }

    fun jumpUnicast(view: View) {
        startActivity(Intent(this, UnicastActivity::class.java))
    }

    fun jumpBroadcast(view: View) {
        startActivity(Intent(this, BroadcastSelectActivity::class.java))
    }

    fun jumpMulticast(view: View) {
        startActivity(Intent(this, MulticastActivity::class.java))
    }

    fun jumpAnycast(view: View) {
        startActivity(Intent(this, AnycastActivity::class.java))
    }
}